package lxbAdmin.userSystem.dao;

import lxbAdmin.userSystem.entity.MenuInfo;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface MenuMapper {

    List<MenuInfo> findAllMenu();

    void addMenu(MenuInfo userMenu);

    MenuInfo findByName(String menuName);
}
